define(function(require, exports, module) {
    "require:nomunge,exports:nomunge,module:nomunge";

    var view = require('mokit/view');
    var grid = require("mokit/grid");
    var $ = require('mokit/jquery');
    var app = require('mokit/app');
    var $utils = require('mokit/utils');
    var commonUtils = require('../common/utils');
    
    /**
     * 全局搜索视图
     */
    return view.create({
        template: module.resovleUri('../templates/global-search.html'),
		utils: commonUtils,
        /**
         * 元素
         */
        el: {},
        /**
         * 在呈现完成时
         */
        onRender: function(context) {
            var self = this;
            grid.use(self.ui);
        }
    });

});